package libofei.service;

import libofei.entity.user.User;

import java.util.List;

public interface UserService {


    public int add(String name,int age);

    public int addUser(User user);

    public User getUserByName(String name);

    public List<User> getUserList();

    public List<User> getUserListByPage(int pageNum,int pageSize);
}
